<%--
  Created by IntelliJ IDEA.
  User: fhy
  Date: 2020/6/11
  Time: 19:18
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="gamemall/css/gamemall.css">
</head>
<body>
<div class="container">
    <div class="navbar navbar-fixed-top">
        <div class="header-left">
            <img src="https://store.st.dl.pinyuncloud.com/public/shared/images/header/globalheader_logo.png?t=962016" alt="">
            <ul>
                <li><a href="/gamemall.jsp">商店</a></li>
                <li><a href="/comment.html">社区</a></li>
                <li><a href="/person.html">${user.userName}</a></li>
                <li><a href="/friendlist.jsp">好友</a></li>
                <li><a href="/moneydetails.jsp">账户明细</a></li>
            </ul>
        </div>
        <div class="header-right">
            <p>欢迎&nbsp;&nbsp;${user.userName}</p>
        </div>
    </div>

    <div class="banner">
        <img src="/gamemall/img/timg1.jpg" alt="">
        <div class="content">
            <div class="content-left">
                <div class="choose"><a href="/shoppingcar.jsp">购物车</a></div>
                <div class="choose"><a href="/gamelibrary.jsp">游戏库</a></div>
                <div class="choose"><a href="/mypublishgame.jsp">我的游戏</a></div>
            </div>
            <div class="content-right">
                <input type="text" name="search"> <button class="btnv6_blue_hoverfade  btn btn-primary" onclick="searchgame()">搜索</button>
            </div>
        </div>
    </div>

    <div class="center">
        <div class="center-right">
            <div id= "parent">
                <div id="uls">
                    <ul id="img_ul">
                        <li><a href="http://localhost:8081/gamedetails/gamedetailslist?gameId=10">
                            <img src="http://imgs.aixifan.com/live/1512104389492/1512104389492.jpg" /></a></li>
                        <li><a href="http://localhost:8081/gamedetails/gamedetailslist?gameId=11">
                            <img src="http://i2.hdslb.com/bfs/archive/258d7df172bf5e25f440157f0078677d7f0f1b40.jpg" /></a></li>
                        <li><a href="http://localhost:8081/gamedetails/gamedetailslist?gameId=12">
                            <img src="http://i2.hdslb.com/bfs/archive/84f1e2ffc3c74d40635d0f62e7c70de9ee436a02.jpg" /></a></li>
                        <li><a href="http://localhost:8081/gamedetails/gamedetailslist?gameId=52">
                            <img src="http://b-ssl.duitang.com/uploads/item/201811/25/20181125105819_Lz3wS.jpeg" /></a></li>
                        <li><a href="http://localhost:8081/gamedetails/gamedetailslist?gameId=53">
                            <img src="http://b-ssl.duitang.com/uploads/item/201707/19/20170719212242_MWeYH.jpeg" /></a></li>
                    </ul>
                    <ul id='litCir_ul'></ul>
                </div>
                <div id="buttons">
                    <span id="left">&lt;</span>
                    <span id="right">&gt;</span>
                </div>
            </div>
        </div>
    </div>


    <div class="bottom">
        <div class="bottom-content">
            <div class="bottom-button">
            </div>
            <div class="bottom-choose">
                <br>
                <button class="btnv6_blue_hoverfade  btn btn-primary" onclick="discount()">查看限时促销</button>
                <br>
                <p><font color="white" size=5px>价格区间</font></p>
                    <p><font color="white">请输入最低价：</font><input type="text" name="gameLower">&nbsp;&nbsp;
                        <font color="white">请输入最高价：</font><input type="text" name="gameHigher">
                        &nbsp;&nbsp;<button class="btnv6_blue_hoverfade  btn btn-primary" onclick="price()">区间查询</button>
                    </p>
                </div>
            </div>
            <table class="table table-bordered"  id = "game" style="background-color: #1B3D53; color:white;"
            >
                <!--获取所有游戏信息-->
            </table>
        </div>
    </div>
</div>

</body>
<script src="jquery/jquery-3.4.1.js"></script>
<script src="bootstrap/js/bootstrap.min.js"></script>
<script src="gamemall/js/gamemall.js"></script>
</html>
